package com.springboot.auth.authorization.entity.form;


import com.springboot.auth.authorization.entity.User;
import com.springboot.cloud.common.web.entity.form.BaseForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created by ZengJian on 2021/2/3 0003 上午 9:22
 */
@ApiModel
@Data
public class MobileForm extends BaseForm<User> {

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "手机号验证码")
    private String smscode;

    @ApiModelProperty(value = "验证码")
    private String captchaVerification;
}
